Package.xml hello
Basic ROS2 launch file
package.xml
<exec_depend>rclpy</exec_depend>
<exec_depend>std_msgs</exec_depend>
<depend>example_interfaces</depend>
<test_depend>ament_copyright</test_depend>
...
rosdep#
install
sudo apt install python3-rosdep
init
sudo rosdep init
rosdep update
command#
resolve#
rosdep resolve example_interfaces
#apt
ros-foxy-example-interfaces
install#
install package dependencies
# from w.s root run
rosdep install --from-paths src/basic --ignore-src -r -y
# Command result
executing command [sudo -H apt-get install -y ros-foxy-example-interfaces]